project(PALTESTSUITE)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

include_directories(${PALTESTSUITE_SOURCE_DIR}/common)

# All test will link against these libraries:
# pthread and m are part of the Android C library (bionic),
# so we don't need to link them seperately
if(NOT CLR_CMAKE_TARGET_ANDROID)
  list(APPEND COMMON_TEST_LIBRARIES pthread)
  list(APPEND COMMON_TEST_LIBRARIES m)
endif()

list(APPEND COMMON_TEST_LIBRARIES coreclrpal)

if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wno-incompatible-pointer-types-discards-qualifiers)
  add_compile_options(-Wno-int-to-void-pointer-cast)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
  add_compile_options(-Wno-sign-compare)
  add_compile_options(-Wno-narrowing)
  add_compile_options(-fno-builtin)
  add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fpermissive>)
  add_compile_options(-Wno-int-to-pointer-cast)
endif()


#these PAL tests have special build needs, and are built separately
add_subdirectory(exception_handling/pal_sxs/test1)
if(FEATURE_EVENT_TRACE)
  add_subdirectory(eventprovider)
endif(FEATURE_EVENT_TRACE)

_add_executable(paltests
  paltests.cpp
  common/palsuite.cpp
  #composite/object_management/event/nonshared/event.cpp
  #composite/object_management/event/nonshared/main.cpp
  #composite/object_management/event/shared/event.cpp
  #composite/object_management/event/shared/main.cpp
  #composite/object_management/mutex/nonshared/main.cpp
  #composite/object_management/mutex/nonshared/mutex.cpp
  #composite/object_management/mutex/shared/main.cpp
  #composite/object_management/mutex/shared/mutex.cpp
  #composite/object_management/semaphore/nonshared/main.cpp
  #composite/object_management/semaphore/nonshared/semaphore.cpp
  #composite/object_management/semaphore/shared/main.cpp
  #composite/object_management/semaphore/shared/semaphore.cpp
  #composite/synchronization/criticalsection/criticalsection.cpp
  #composite/synchronization/criticalsection/mainWrapper.cpp
  #composite/synchronization/nativecriticalsection/mtx_critsect.cpp
  #composite/synchronization/nativecriticalsection/pal_composite_native_cs.cpp
  #composite/synchronization/nativecriticalsection/resultbuffer.cpp
  #composite/synchronization/nativecs_interlocked/interlocked.cpp
  #composite/synchronization/nativecs_interlocked/mtx_critsect.cpp
  #composite/synchronization/nativecs_interlocked/pal_composite_native_cs.cpp
  #composite/synchronization/nativecs_interlocked/resultbuffer.cpp
  #composite/threading/threadsuspension/mainWrapper.cpp
  #composite/threading/threadsuspension/threadsuspension.cpp
  #composite/threading/threadsuspension_switchthread/mainWrapper.cpp
  #composite/threading/threadsuspension_switchthread/threadsuspension.cpp
  #composite/wfmo/main.cpp
  #composite/wfmo/mutex.cpp
  c_runtime/abs/test1/abs.cpp
  c_runtime/acos/test1/test1.cpp
  c_runtime/acosf/test1/test1.cpp
  c_runtime/acosh/test1/test1.cpp
  c_runtime/acoshf/test1/test1.cpp
  c_runtime/asin/test1/test1.cpp
  c_runtime/asinf/test1/test1.cpp
  c_runtime/asinh/test1/test1.cpp
  c_runtime/asinhf/test1/test1.cpp
  c_runtime/atan/test1/test1.cpp
  c_runtime/atan2/test1/test1.cpp
  c_runtime/atan2f/test1/test1.cpp
  c_runtime/atanf/test1/test1.cpp
  c_runtime/atanh/test1/test1.cpp
  c_runtime/atanhf/test1/test1.cpp
  c_runtime/atof/test1/test1.cpp
  c_runtime/atoi/test1/test1.cpp
  c_runtime/bsearch/test1/test1.cpp
  c_runtime/bsearch/test2/test2.cpp
  c_runtime/cbrt/test1/test1.cpp
  c_runtime/cbrtf/test1/test1.cpp
  c_runtime/ceil/test1/test1.cpp
  c_runtime/ceilf/test1/test1.cpp
  c_runtime/cos/test1/test1.cpp
  c_runtime/cosf/test1/test1.cpp
  c_runtime/cosh/test1/test1.cpp
  c_runtime/coshf/test1/test1.cpp
  c_runtime/errno/test1/test1.cpp
  c_runtime/errno/test2/test2.cpp
  c_runtime/exit/test1/test1.cpp
  c_runtime/exit/test2/test2.cpp
  c_runtime/exp/test1/test1.cpp
  c_runtime/expf/test1/test1.cpp
  c_runtime/fabs/test1/test1.cpp
  c_runtime/fabsf/test1/test1.cpp
  c_runtime/fclose/test1/test1.cpp
  c_runtime/fclose/test2/test2.cpp
  c_runtime/ferror/test1/test1.cpp
  c_runtime/ferror/test2/test2.cpp
  c_runtime/fflush/test1/test1.cpp
  c_runtime/fgets/test1/test1.cpp
  c_runtime/fgets/test2/test2.cpp
  c_runtime/fgets/test3/test3.cpp
  c_runtime/floor/test1/test1.cpp
  c_runtime/floorf/test1/test1.cpp
  c_runtime/fma/test1/test1.cpp
  c_runtime/fmaf/test1/test1.cpp
  c_runtime/fmod/test1/test1.cpp
  c_runtime/fmodf/test1/test1.cpp
  c_runtime/fopen/test1/test1.cpp
  c_runtime/fopen/test2/test2.cpp
  c_runtime/fopen/test3/test3.cpp
  c_runtime/fopen/test4/test4.cpp
  c_runtime/fopen/test5/test5.cpp
  c_runtime/fopen/test6/test6.cpp
  c_runtime/fopen/test7/test7.cpp
  c_runtime/fprintf/test1/test1.cpp
  c_runtime/fprintf/test10/test10.cpp
  c_runtime/fprintf/test11/test11.cpp
  c_runtime/fprintf/test12/test12.cpp
  c_runtime/fprintf/test13/test13.cpp
  c_runtime/fprintf/test14/test14.cpp
  c_runtime/fprintf/test15/test15.cpp
  c_runtime/fprintf/test16/test16.cpp
  c_runtime/fprintf/test17/test17.cpp
  c_runtime/fprintf/test18/test18.cpp
  c_runtime/fprintf/test19/test19.cpp
  c_runtime/fprintf/test2/test2.cpp
  c_runtime/fprintf/test3/test3.cpp
  c_runtime/fprintf/test4/test4.cpp
  c_runtime/fprintf/test5/test5.cpp
  c_runtime/fprintf/test6/test6.cpp
  c_runtime/fprintf/test7/test7.cpp
  c_runtime/fprintf/test8/test8.cpp
  c_runtime/fprintf/test9/test9.cpp
  c_runtime/fputs/test1/test1.cpp
  c_runtime/fputs/test2/test2.cpp
  c_runtime/fread/test1/test1.cpp
  c_runtime/fread/test2/test2.cpp
  c_runtime/fread/test3/test3.cpp
  c_runtime/free/test1/test1.cpp
  c_runtime/fseek/test1/test1.cpp
  c_runtime/ftell/test1/ftell.cpp
  c_runtime/fwprintf/test1/test1.cpp
  c_runtime/fwprintf/test10/test10.cpp
  c_runtime/fwprintf/test11/test11.cpp
  c_runtime/fwprintf/test12/test12.cpp
  c_runtime/fwprintf/test13/test13.cpp
  c_runtime/fwprintf/test14/test14.cpp
  c_runtime/fwprintf/test15/test15.cpp
  c_runtime/fwprintf/test16/test16.cpp
  c_runtime/fwprintf/test17/test17.cpp
  c_runtime/fwprintf/test18/test18.cpp
  c_runtime/fwprintf/test19/test19.cpp
  c_runtime/fwprintf/test2/test2.cpp
  c_runtime/fwprintf/test3/test3.cpp
  c_runtime/fwprintf/test4/test4.cpp
  c_runtime/fwprintf/test5/test5.cpp
  c_runtime/fwprintf/test6/test6.cpp
  c_runtime/fwprintf/test7/test7.cpp
  c_runtime/fwprintf/test8/test8.cpp
  c_runtime/fwprintf/test9/test9.cpp
  c_runtime/fwrite/test1/test1.cpp
  c_runtime/getenv/test1/test1.cpp
  c_runtime/getenv/test2/test2.cpp
  c_runtime/getenv/test3/test3.cpp
  c_runtime/ilogb/test1/test1.cpp
  c_runtime/ilogbf/test1/test1.cpp
  c_runtime/isalnum/test1/test1.cpp
  c_runtime/isalpha/test1/test1.cpp
  c_runtime/isdigit/test1/test1.cpp
  c_runtime/islower/test1/test1.cpp
  c_runtime/isprint/test1/isprint.cpp
  c_runtime/isprint/test2/test2.cpp
  c_runtime/isspace/test1/test1.cpp
  c_runtime/isupper/test1/test1.cpp
  c_runtime/iswdigit/test1/test1.cpp
  #c_runtime/iswprint/test1/test1.cpp
  c_runtime/iswspace/test1/test1.cpp
  c_runtime/iswupper/test1/test1.cpp
  c_runtime/isxdigit/test1/test1.cpp
  c_runtime/llabs/test1/test1.cpp
  c_runtime/log/test1/test1.cpp
  c_runtime/log10/test1/test1.cpp
  c_runtime/log10f/test1/test1.cpp
  c_runtime/log2/test1/test1.cpp
  c_runtime/log2f/test1/test1.cpp
  c_runtime/logf/test1/test1.cpp
  c_runtime/malloc/test1/test1.cpp
  c_runtime/malloc/test2/test2.cpp
  c_runtime/memchr/test1/test1.cpp
  c_runtime/memcmp/test1/test1.cpp
  c_runtime/memcpy/test1/test1.cpp
  c_runtime/memmove/test1/test1.cpp
  c_runtime/memset/test1/test1.cpp
  c_runtime/modf/test1/test1.cpp
  c_runtime/modff/test1/test1.cpp
  c_runtime/pow/test1/test1.cpp
  c_runtime/powf/test1/test1.cpp
  c_runtime/printf/test1/test1.cpp
  c_runtime/printf/test10/test10.cpp
  c_runtime/printf/test11/test11.cpp
  c_runtime/printf/test12/test12.cpp
  c_runtime/printf/test13/test13.cpp
  c_runtime/printf/test14/test14.cpp
  c_runtime/printf/test15/test15.cpp
  c_runtime/printf/test16/test16.cpp
  c_runtime/printf/test17/test17.cpp
  c_runtime/printf/test18/test18.cpp
  c_runtime/printf/test19/test19.cpp
  c_runtime/printf/test2/test2.cpp
  c_runtime/printf/test3/test3.cpp
  c_runtime/printf/test4/test4.cpp
  c_runtime/printf/test5/test5.cpp
  c_runtime/printf/test6/test6.cpp
  c_runtime/printf/test7/test7.cpp
  c_runtime/printf/test8/test8.cpp
  c_runtime/printf/test9/test9.cpp
  c_runtime/qsort/test1/test1.cpp
  c_runtime/qsort/test2/test2.cpp
  c_runtime/rand_srand/test1/test1.cpp
  c_runtime/realloc/test1/test1.cpp
  c_runtime/scalbn/test1/test1.cpp
  c_runtime/scalbnf/test1/test1.cpp
  c_runtime/sin/test1/test1.cpp
  c_runtime/sincos/test1/test1.cpp
  c_runtime/sincosf/test1/test1.cpp
  c_runtime/sinf/test1/test1.cpp
  c_runtime/sinh/test1/test1.cpp
  c_runtime/sinhf/test1/test1.cpp
  c_runtime/sprintf_s/test1/test1.cpp
  c_runtime/sprintf_s/test10/test10.cpp
  c_runtime/sprintf_s/test11/test11.cpp
  c_runtime/sprintf_s/test12/test12.cpp
  c_runtime/sprintf_s/test13/test13.cpp
  c_runtime/sprintf_s/test14/test14.cpp
  c_runtime/sprintf_s/test15/test15.cpp
  c_runtime/sprintf_s/test16/test16.cpp
  c_runtime/sprintf_s/test17/test17.cpp
  c_runtime/sprintf_s/test18/test18.cpp
  c_runtime/sprintf_s/test19/test19.cpp
  c_runtime/sprintf_s/test2/test2.cpp
  c_runtime/sprintf_s/test3/test3.cpp
  c_runtime/sprintf_s/test4/test4.cpp
  c_runtime/sprintf_s/test6/test6.cpp
  c_runtime/sprintf_s/test7/test7.cpp
  c_runtime/sprintf_s/test8/test8.cpp
  c_runtime/sprintf_s/test9/test9.cpp
  c_runtime/sqrt/test1/test1.cpp
  c_runtime/sqrtf/test1/test1.cpp
  c_runtime/sscanf_s/test1/test1.cpp
  c_runtime/sscanf_s/test10/test10.cpp
  c_runtime/sscanf_s/test11/test11.cpp
  c_runtime/sscanf_s/test12/test12.cpp
  c_runtime/sscanf_s/test13/test13.cpp
  c_runtime/sscanf_s/test14/test14.cpp
  c_runtime/sscanf_s/test15/test15.cpp
  c_runtime/sscanf_s/test16/test16.cpp
  c_runtime/sscanf_s/test17/test17.cpp
  c_runtime/sscanf_s/test2/test2.cpp
  c_runtime/sscanf_s/test3/test3.cpp
  c_runtime/sscanf_s/test4/test4.cpp
  c_runtime/sscanf_s/test5/test5.cpp
  c_runtime/sscanf_s/test6/test6.cpp
  c_runtime/sscanf_s/test7/test7.cpp
  c_runtime/sscanf_s/test8/test8.cpp
  c_runtime/sscanf_s/test9/test9.cpp
  c_runtime/strcat/test1/test1.cpp
  c_runtime/strchr/test1/test1.cpp
  c_runtime/strcmp/test1/test1.cpp
  c_runtime/strcpy/test1/test1.cpp
  c_runtime/strcspn/test1/test1.cpp
  c_runtime/strlen/test1/test1.cpp
  c_runtime/strncat/test1/test1.cpp
  c_runtime/strncmp/test1/test1.cpp
  c_runtime/strncpy/test1/test1.cpp
  c_runtime/strpbrk/test1/test1.cpp
  c_runtime/strrchr/test1/test1.cpp
  c_runtime/strspn/test1/test1.cpp
  c_runtime/strstr/test1/test1.cpp
  c_runtime/strtod/test1/test1.cpp
  c_runtime/strtod/test2/test2.cpp
  c_runtime/strtok/test1/test1.cpp
  c_runtime/strtoul/test1/test1.cpp
  c_runtime/swprintf/test1/test1.cpp
  c_runtime/swprintf/test10/test10.cpp
  c_runtime/swprintf/test11/test11.cpp
  c_runtime/swprintf/test12/test12.cpp
  c_runtime/swprintf/test13/test13.cpp
  c_runtime/swprintf/test14/test14.cpp
  c_runtime/swprintf/test15/test15.cpp
  c_runtime/swprintf/test16/test16.cpp
  c_runtime/swprintf/test17/test17.cpp
  c_runtime/swprintf/test18/test18.cpp
  c_runtime/swprintf/test19/test19.cpp
  c_runtime/swprintf/test2/test2.cpp
  c_runtime/swprintf/test3/test3.cpp
  c_runtime/swprintf/test4/test4.cpp
  c_runtime/swprintf/test6/test6.cpp
  c_runtime/swprintf/test7/test7.cpp
  c_runtime/swprintf/test8/test8.cpp
  c_runtime/swprintf/test9/test9.cpp
  c_runtime/swscanf/test1/test1.cpp
  c_runtime/swscanf/test10/test10.cpp
  c_runtime/swscanf/test11/test11.cpp
  c_runtime/swscanf/test12/test12.cpp
  c_runtime/swscanf/test13/test13.cpp
  c_runtime/swscanf/test14/test14.cpp
  c_runtime/swscanf/test15/test15.cpp
  c_runtime/swscanf/test16/test16.cpp
  c_runtime/swscanf/test17/test17.cpp
  c_runtime/swscanf/test2/test2.cpp
  c_runtime/swscanf/test3/test3.cpp
  c_runtime/swscanf/test4/test4.cpp
  c_runtime/swscanf/test5/test5.cpp
  c_runtime/swscanf/test6/test6.cpp
  c_runtime/swscanf/test7/test7.cpp
  c_runtime/swscanf/test8/test8.cpp
  c_runtime/swscanf/test9/test9.cpp
  c_runtime/tan/test1/test1.cpp
  c_runtime/tanf/test1/test1.cpp
  c_runtime/tanh/test1/test1.cpp
  c_runtime/tanhf/test1/test1.cpp
  c_runtime/time/test1/test1.cpp
  c_runtime/tolower/test1/test1.cpp
  c_runtime/toupper/test1/test1.cpp
  c_runtime/towlower/test1/test1.cpp
  c_runtime/towupper/test1/test1.cpp
  c_runtime/vfprintf/test1/test1.cpp
  c_runtime/vfprintf/test10/test10.cpp
  c_runtime/vfprintf/test11/test11.cpp
  c_runtime/vfprintf/test12/test12.cpp
  c_runtime/vfprintf/test13/test13.cpp
  c_runtime/vfprintf/test14/test14.cpp
  c_runtime/vfprintf/test15/test15.cpp
  c_runtime/vfprintf/test16/test16.cpp
  c_runtime/vfprintf/test17/test17.cpp
  c_runtime/vfprintf/test18/test18.cpp
  c_runtime/vfprintf/test19/test19.cpp
  c_runtime/vfprintf/test2/test2.cpp
  c_runtime/vfprintf/test3/test3.cpp
  c_runtime/vfprintf/test4/test4.cpp
  c_runtime/vfprintf/test5/test5.cpp
  c_runtime/vfprintf/test6/test6.cpp
  c_runtime/vfprintf/test7/test7.cpp
  c_runtime/vfprintf/test8/test8.cpp
  c_runtime/vfprintf/test9/test9.cpp
  #c_runtime/vprintf/test1/test1.cpp
  c_runtime/vprintf/test10/test10.cpp
  c_runtime/vprintf/test11/test11.cpp
  c_runtime/vprintf/test12/test12.cpp
  c_runtime/vprintf/test13/test13.cpp
  c_runtime/vprintf/test14/test14.cpp
  c_runtime/vprintf/test15/test15.cpp
  c_runtime/vprintf/test16/test16.cpp
  c_runtime/vprintf/test17/test17.cpp
  c_runtime/vprintf/test18/test18.cpp
  c_runtime/vprintf/test19/test19.cpp
  c_runtime/vprintf/test2/test2.cpp
  c_runtime/vprintf/test3/test3.cpp
  c_runtime/vprintf/test4/test4.cpp
  c_runtime/vprintf/test5/test5.cpp
  c_runtime/vprintf/test6/test6.cpp
  c_runtime/vprintf/test7/test7.cpp
  c_runtime/vprintf/test8/test8.cpp
  c_runtime/vprintf/test9/test9.cpp
  c_runtime/vsprintf/test1/test1.cpp
  c_runtime/vsprintf/test10/test10.cpp
  c_runtime/vsprintf/test11/test11.cpp
  c_runtime/vsprintf/test12/test12.cpp
  c_runtime/vsprintf/test13/test13.cpp
  c_runtime/vsprintf/test14/test14.cpp
  c_runtime/vsprintf/test15/test15.cpp
  c_runtime/vsprintf/test16/test16.cpp
  c_runtime/vsprintf/test17/test17.cpp
  c_runtime/vsprintf/test18/test18.cpp
  c_runtime/vsprintf/test19/test19.cpp
  c_runtime/vsprintf/test2/test2.cpp
  c_runtime/vsprintf/test3/test3.cpp
  c_runtime/vsprintf/test4/test4.cpp
  c_runtime/vsprintf/test6/test6.cpp
  c_runtime/vsprintf/test7/test7.cpp
  c_runtime/vsprintf/test8/test8.cpp
  c_runtime/vsprintf/test9/test9.cpp
  c_runtime/vswprintf/test1/test1.cpp
  c_runtime/vswprintf/test10/test10.cpp
  c_runtime/vswprintf/test11/test11.cpp
  c_runtime/vswprintf/test12/test12.cpp
  c_runtime/vswprintf/test13/test13.cpp
  c_runtime/vswprintf/test14/test14.cpp
  c_runtime/vswprintf/test15/test15.cpp
  c_runtime/vswprintf/test16/test16.cpp
  c_runtime/vswprintf/test17/test17.cpp
  c_runtime/vswprintf/test18/test18.cpp
  c_runtime/vswprintf/test19/test19.cpp
  c_runtime/vswprintf/test2/test2.cpp
  c_runtime/vswprintf/test3/test3.cpp
  c_runtime/vswprintf/test4/test4.cpp
  c_runtime/vswprintf/test6/test6.cpp
  c_runtime/vswprintf/test7/test7.cpp
  c_runtime/vswprintf/test8/test8.cpp
  c_runtime/vswprintf/test9/test9.cpp
  c_runtime/wcscat/test1/test1.cpp
  c_runtime/wcschr/test1/test1.cpp
  c_runtime/wcscmp/test1/test1.cpp
  c_runtime/wcscpy/test1/test1.cpp
  c_runtime/wcslen/test1/test1.cpp
  c_runtime/wcsncmp/test1/test1.cpp
  c_runtime/wcsncpy/test1/test1.cpp
  c_runtime/wcspbrk/test1/test1.cpp
  c_runtime/wcsrchr/test1/test1.cpp
  c_runtime/wcsstr/test1/test1.cpp
  c_runtime/wcstod/test1/test1.cpp
  c_runtime/wcstod/test2/test2.cpp
  c_runtime/wcstok/test1/test1.cpp
  c_runtime/wcstoul/test1/test1.cpp
  c_runtime/wcstoul/test2/test2.cpp
  c_runtime/wcstoul/test3/test3.cpp
  c_runtime/wcstoul/test4/test4.cpp
  c_runtime/wcstoul/test5/test5.cpp
  c_runtime/wcstoul/test6/test6.cpp
  c_runtime/wprintf/test1/test1.cpp
  c_runtime/wprintf/test2/test2.cpp
  c_runtime/_alloca/test1/test1.cpp
  c_runtime/_fdopen/test1/test1.cpp
  c_runtime/_finite/test1/test1.cpp
  c_runtime/_finitef/test1/test1.cpp
  #c_runtime/_gcvt/test1/_gcvt.cpp
  #c_runtime/_gcvt/test2/test2.cpp
  c_runtime/_isnan/test1/test1.cpp
  c_runtime/_isnanf/test1/test1.cpp
  c_runtime/_itow/test1/test1.cpp
  c_runtime/_putenv/test1/test1.cpp
  c_runtime/_putenv/test2/test2.cpp
  c_runtime/_putenv/test3/test3.cpp
  c_runtime/_putenv/test4/test4.cpp
  c_runtime/_rotl/test1/test1.cpp
  c_runtime/_rotr/test1/test1.cpp
  c_runtime/_snprintf_s/test1/test1.cpp
  c_runtime/_snprintf_s/test10/test10.cpp
  c_runtime/_snprintf_s/test11/test11.cpp
  c_runtime/_snprintf_s/test12/test12.cpp
  c_runtime/_snprintf_s/test13/test13.cpp
  c_runtime/_snprintf_s/test14/test14.cpp
  c_runtime/_snprintf_s/test15/test15.cpp
  c_runtime/_snprintf_s/test16/test16.cpp
  c_runtime/_snprintf_s/test17/test17.cpp
  c_runtime/_snprintf_s/test18/test18.cpp
  c_runtime/_snprintf_s/test19/test19.cpp
  c_runtime/_snprintf_s/test2/test2.cpp
  c_runtime/_snprintf_s/test3/test3.cpp
  c_runtime/_snprintf_s/test4/test4.cpp
  c_runtime/_snprintf_s/test6/test6.cpp
  c_runtime/_snprintf_s/test7/test7.cpp
  c_runtime/_snprintf_s/test8/test8.cpp
  c_runtime/_snprintf_s/test9/test9.cpp
  c_runtime/_snwprintf_s/test1/test1.cpp
  c_runtime/_snwprintf_s/test10/test10.cpp
  c_runtime/_snwprintf_s/test11/test11.cpp
  c_runtime/_snwprintf_s/test12/test12.cpp
  c_runtime/_snwprintf_s/test13/test13.cpp
  c_runtime/_snwprintf_s/test14/test14.cpp
  c_runtime/_snwprintf_s/test15/test15.cpp
  c_runtime/_snwprintf_s/test16/test16.cpp
  c_runtime/_snwprintf_s/test17/test17.cpp
  c_runtime/_snwprintf_s/test18/test18.cpp
  c_runtime/_snwprintf_s/test19/test19.cpp
  c_runtime/_snwprintf_s/test2/test2.cpp
  c_runtime/_snwprintf_s/test3/test3.cpp
  c_runtime/_snwprintf_s/test4/test4.cpp
  c_runtime/_snwprintf_s/test6/test6.cpp
  c_runtime/_snwprintf_s/test7/test7.cpp
  c_runtime/_snwprintf_s/test8/test8.cpp
  c_runtime/_snwprintf_s/test9/test9.cpp
  c_runtime/_stricmp/test1/test1.cpp
  c_runtime/_strnicmp/test1/test1.cpp
  c_runtime/_vsnprintf_s/test1/test1.cpp
  c_runtime/_vsnprintf_s/test10/test10.cpp
  c_runtime/_vsnprintf_s/test11/test11.cpp
  c_runtime/_vsnprintf_s/test12/test12.cpp
  c_runtime/_vsnprintf_s/test13/test13.cpp
  c_runtime/_vsnprintf_s/test14/test14.cpp
  c_runtime/_vsnprintf_s/test15/test15.cpp
  c_runtime/_vsnprintf_s/test16/test16.cpp
  c_runtime/_vsnprintf_s/test17/test17.cpp
  c_runtime/_vsnprintf_s/test18/test18.cpp
  c_runtime/_vsnprintf_s/test19/test19.cpp
  c_runtime/_vsnprintf_s/test2/test2.cpp
  c_runtime/_vsnprintf_s/test3/test3.cpp
  c_runtime/_vsnprintf_s/test4/test4.cpp
  c_runtime/_vsnprintf_s/test6/test6.cpp
  c_runtime/_vsnprintf_s/test7/test7.cpp
  c_runtime/_vsnprintf_s/test8/test8.cpp
  c_runtime/_vsnprintf_s/test9/test9.cpp
  c_runtime/_vsnwprintf_s/test1/test1.cpp
  c_runtime/_vsnwprintf_s/test10/test10.cpp
  c_runtime/_vsnwprintf_s/test11/test11.cpp
  c_runtime/_vsnwprintf_s/test12/test12.cpp
  c_runtime/_vsnwprintf_s/test13/test13.cpp
  c_runtime/_vsnwprintf_s/test14/test14.cpp
  c_runtime/_vsnwprintf_s/test15/test15.cpp
  c_runtime/_vsnwprintf_s/test16/test16.cpp
  c_runtime/_vsnwprintf_s/test17/test17.cpp
  c_runtime/_vsnwprintf_s/test18/test18.cpp
  c_runtime/_vsnwprintf_s/test19/test19.cpp
  c_runtime/_vsnwprintf_s/test2/test2.cpp
  c_runtime/_vsnwprintf_s/test3/test3.cpp
  c_runtime/_vsnwprintf_s/test4/test4.cpp
  c_runtime/_vsnwprintf_s/test6/test6.cpp
  c_runtime/_vsnwprintf_s/test7/test7.cpp
  c_runtime/_vsnwprintf_s/test8/test8.cpp
  c_runtime/_vsnwprintf_s/test9/test9.cpp
  c_runtime/_wcsicmp/test1/test1.cpp
  c_runtime/_wcslwr_s/test1/test1.cpp
  c_runtime/_wcsnicmp/test1/test1.cpp
  c_runtime/_wfopen/test1/test1.cpp
  c_runtime/_wfopen/test2/test2.cpp
  c_runtime/_wfopen/test3/test3.cpp
  c_runtime/_wfopen/test4/test4.cpp
  c_runtime/_wfopen/test5/test5.cpp
  c_runtime/_wfopen/test6/test6.cpp
  c_runtime/_wfopen/test7/test7.cpp
  c_runtime/_wtoi/test1/test1.cpp
  c_runtime/__iscsym/test1/__iscsym.cpp
  #debug_api/DebugBreak/test1/test1.cpp
  debug_api/OutputDebugStringA/test1/helper.cpp
  debug_api/OutputDebugStringA/test1/test1.cpp
  debug_api/OutputDebugStringW/test1/test1.cpp
  #debug_api/WriteProcessMemory/test1/helper.cpp
  #debug_api/WriteProcessMemory/test1/test1.cpp
  #debug_api/WriteProcessMemory/test3/helper.cpp
  #debug_api/WriteProcessMemory/test3/test3.cpp
  #debug_api/WriteProcessMemory/test4/helper.cpp
  #debug_api/WriteProcessMemory/test4/test4.cpp
  #exception_handling/pal_except/test1/test1.cpp
  #exception_handling/pal_except/test2/test2.cpp
  #exception_handling/pal_except/test3/test3.cpp
  #exception_handling/pal_except/test4/test4.cpp
  #exception_handling/pal_except/test5/test5.cpp
  #exception_handling/pal_except/test6/test6.cpp
  #exception_handling/pal_except/test7/test7.cpp
  #exception_handling/PAL_EXCEPT_FILTER/test1/PAL_EXCEPT_FILTER.cpp
  #exception_handling/PAL_EXCEPT_FILTER/test2/pal_except_filter.cpp
  #exception_handling/PAL_EXCEPT_FILTER/test3/pal_except_filter.cpp
  #exception_handling/PAL_EXCEPT_FILTER_EX/test1/PAL_EXCEPT_FILTER_EX.cpp
  #exception_handling/PAL_EXCEPT_FILTER_EX/test2/pal_except_filter_ex.cpp
  #exception_handling/PAL_EXCEPT_FILTER_EX/test3/pal_except_filter.cpp
  #exception_handling/pal_finally/test1/pal_finally.cpp
  #exception_handling/PAL_TRY_EXCEPT/test1/PAL_TRY_EXCEPT.cpp
  #exception_handling/PAL_TRY_EXCEPT/test2/PAL_TRY_EXCEPT.cpp
  #exception_handling/PAL_TRY_EXCEPT_EX/test1/PAL_TRY_EXCEPT_EX.cpp
  #exception_handling/PAL_TRY_EXCEPT_EX/test2/PAL_TRY_EXCEPT_EX.cpp
  #exception_handling/PAL_TRY_EXCEPT_EX/test3/PAL_TRY_EXCEPT_EX.cpp
  #exception_handling/PAL_TRY_LEAVE_FINALLY/test1/PAL_TRY_LEAVE_FINALLY.cpp
  exception_handling/RaiseException/test1/test1.cpp
  exception_handling/RaiseException/test2/test2.cpp
  exception_handling/RaiseException/test3/test.cpp
  filemapping_memmgt/CreateFileMappingW/CreateFileMapping_neg1/CreateFileMapping_neg.cpp
  filemapping_memmgt/CreateFileMappingW/test1/CreateFileMappingW.cpp
  #filemapping_memmgt/CreateFileMappingW/test2/CreateFileMappingW.cpp
  filemapping_memmgt/CreateFileMappingW/test3/CreateFileMappingW.cpp
  filemapping_memmgt/CreateFileMappingW/test4/CreateFileMappingW.cpp
  filemapping_memmgt/CreateFileMappingW/test5/CreateFileMappingW.cpp
  filemapping_memmgt/CreateFileMappingW/test6/CreateFileMappingW.cpp
  filemapping_memmgt/CreateFileMappingW/test7/createfilemapping.cpp
  filemapping_memmgt/CreateFileMappingW/test8/createfilemapping.cpp
  filemapping_memmgt/CreateFileMappingW/test9/createfilemapping.cpp
#  filemapping_memmgt/FreeLibrary/test1/dlltest.cpp
  filemapping_memmgt/FreeLibrary/test1/FreeLibrary.cpp
  filemapping_memmgt/FreeLibrary/test2/test2.cpp
#  filemapping_memmgt/FreeLibraryAndExitThread/test1/dlltest.cpp
  filemapping_memmgt/FreeLibraryAndExitThread/test1/test1.cpp
  filemapping_memmgt/GetModuleFileNameA/test1/GetModuleFileNameA.cpp
  filemapping_memmgt/GetModuleFileNameA/test2/GetModuleFileNameA.cpp
  filemapping_memmgt/GetModuleFileNameW/test1/GetModuleFileNameW.cpp
  filemapping_memmgt/GetModuleFileNameW/test2/GetModuleFileNameW.cpp
  filemapping_memmgt/GetProcAddress/test1/test1.cpp
#  filemapping_memmgt/GetProcAddress/test1/testlib.cpp
  filemapping_memmgt/GetProcAddress/test2/test2.cpp
#  filemapping_memmgt/GetProcAddress/test2/testlib.cpp
  filemapping_memmgt/LocalAlloc/test1/LocalAlloc.cpp
  filemapping_memmgt/LocalFree/test1/LocalFree.cpp
  filemapping_memmgt/LocalFree/test2/LocalFree.cpp
  filemapping_memmgt/MapViewOfFile/test1/MapViewOfFile.cpp
  filemapping_memmgt/MapViewOfFile/test2/MapViewOfFile.cpp
  filemapping_memmgt/MapViewOfFile/test3/MapViewOfFile.cpp
  filemapping_memmgt/MapViewOfFile/test4/mapviewoffile.cpp
  filemapping_memmgt/MapViewOfFile/test5/mapviewoffile.cpp
  filemapping_memmgt/MapViewOfFile/test6/mapviewoffile.cpp
  filemapping_memmgt/OpenFileMappingW/test1/OpenFileMappingW.cpp
  filemapping_memmgt/OpenFileMappingW/test2/OpenFileMappingW.cpp
  filemapping_memmgt/OpenFileMappingW/test3/OpenFileMappingW.cpp
  filemapping_memmgt/ProbeMemory/ProbeMemory_neg1/ProbeMemory_neg.cpp
  filemapping_memmgt/ProbeMemory/test1/ProbeMemory.cpp
  filemapping_memmgt/UnmapViewOfFile/test1/UnmapViewOfFile.cpp
  filemapping_memmgt/UnmapViewOfFile/test2/unmapviewoffile.cpp
  filemapping_memmgt/VirtualAlloc/test1/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test10/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test11/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test12/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test13/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test14/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test15/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test16/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test17/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test18/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test19/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test2/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test20/virtualalloc.cpp
  filemapping_memmgt/VirtualAlloc/test21/virtualalloc.cpp
  filemapping_memmgt/VirtualAlloc/test22/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test3/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test4/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test5/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test6/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test7/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test8/VirtualAlloc.cpp
  filemapping_memmgt/VirtualAlloc/test9/VirtualAlloc.cpp
  filemapping_memmgt/VirtualFree/test1/VirtualFree.cpp
  filemapping_memmgt/VirtualFree/test2/VirtualFree.cpp
  filemapping_memmgt/VirtualFree/test3/VirtualFree.cpp
  filemapping_memmgt/VirtualProtect/test1/VirtualProtect.cpp
  filemapping_memmgt/VirtualProtect/test2/VirtualProtect.cpp
  filemapping_memmgt/VirtualProtect/test3/VirtualProtect.cpp
  filemapping_memmgt/VirtualProtect/test4/VirtualProtect.cpp
  filemapping_memmgt/VirtualProtect/test6/VirtualProtect.cpp
  filemapping_memmgt/VirtualProtect/test7/VirtualProtect.cpp
  filemapping_memmgt/VirtualQuery/test1/VirtualQuery.cpp
  file_io/CopyFileA/test1/CopyFileA.cpp
  file_io/CopyFileA/test2/test2.cpp
  file_io/CopyFileA/test3/test3.cpp
  file_io/CopyFileA/test4/test4.cpp
  file_io/CopyFileW/test1/CopyFileW.cpp
  file_io/CopyFileW/test2/test2.cpp
  file_io/CopyFileW/test3/test3.cpp
  file_io/CreateFileA/test1/CreateFileA.cpp
  file_io/CreateFileW/test1/CreateFileW.cpp
  file_io/DeleteFileA/test1/DeleteFileA.cpp
  file_io/DeleteFileW/test1/DeleteFileW.cpp
  file_io/errorpathnotfound/test1/test1.cpp
  file_io/errorpathnotfound/test2/test2.cpp
  file_io/FILECanonicalizePath/FILECanonicalizePath.cpp
  file_io/FindClose/test1/FindClose.cpp
  file_io/FindFirstFileA/test1/FindFirstFileA.cpp
  file_io/FindFirstFileW/test1/FindFirstFileW.cpp
  file_io/FindNextFileA/test1/FindNextFileA.cpp
  file_io/FindNextFileA/test2/findnextfilea.cpp
  file_io/FindNextFileW/test1/FindNextFileW.cpp
  file_io/FindNextFileW/test2/findnextfilew.cpp
  file_io/FlushFileBuffers/test1/FlushFileBuffers.cpp
  file_io/GetConsoleOutputCP/test1/GetConsoleOutputCP.cpp
  file_io/GetCurrentDirectoryA/test1/GetCurrentDirectoryA.cpp
  file_io/GetCurrentDirectoryW/test1/GetCurrentDirectoryW.cpp
  file_io/GetFileAttributesA/test1/GetFileAttributesA.cpp
  file_io/GetFileAttributesExW/test1/test1.cpp
  file_io/GetFileAttributesExW/test2/test2.cpp
  file_io/GetFileAttributesW/test1/GetFileAttributesW.cpp
  file_io/GetFileSize/test1/GetFileSize.cpp
  file_io/GetFileSizeEx/test1/GetFileSizeEx.cpp
  file_io/GetFullPathNameA/test1/GetFullPathNameA.cpp
  file_io/GetFullPathNameA/test2/test2.cpp
  file_io/GetFullPathNameA/test3/test3.cpp
  file_io/GetFullPathNameA/test4/test4.cpp
  file_io/GetFullPathNameW/test1/GetFullPathNameW.cpp
  file_io/GetFullPathNameW/test2/test2.cpp
  file_io/GetFullPathNameW/test3/test3.cpp
  file_io/GetFullPathNameW/test4/test4.cpp
  file_io/GetStdHandle/test1/GetStdHandle.cpp
  file_io/GetStdHandle/test2/GetStdHandle.cpp
  file_io/GetSystemTime/test1/test.cpp
  file_io/GetSystemTimeAsFileTime/test1/GetSystemTimeAsFileTime.cpp
  file_io/GetTempFileNameA/test1/GetTempFileNameA.cpp
  file_io/GetTempFileNameA/test2/GetTempFileNameA.cpp
  file_io/GetTempFileNameA/test3/gettempfilenamea.cpp
  file_io/GetTempFileNameW/test1/GetTempFileNameW.cpp
  file_io/GetTempFileNameW/test2/GetTempFileNameW.cpp
  file_io/GetTempFileNameW/test3/gettempfilenamew.cpp
  file_io/gettemppatha/test1/gettemppatha.cpp
  file_io/GetTempPathW/test1/GetTempPathW.cpp
  file_io/MoveFileExA/test1/MoveFileExA.cpp
  file_io/MoveFileExW/test1/MoveFileExW.cpp
  file_io/ReadFile/test1/ReadFile.cpp
  file_io/ReadFile/test2/ReadFile.cpp
  file_io/ReadFile/test3/ReadFile.cpp
  file_io/ReadFile/test4/readfile.cpp
  file_io/SearchPathW/test1/SearchPathW.cpp
  file_io/SetEndOfFile/test1/SetEndOfFile.cpp
  file_io/SetEndOfFile/test2/SetEndOfFile.cpp
  file_io/SetEndOfFile/test3/SetEndOfFile.cpp
  file_io/SetEndOfFile/test4/setendoffile.cpp
  file_io/SetEndOfFile/test5/test5.cpp
  file_io/SetFilePointer/test1/SetFilePointer.cpp
  file_io/SetFilePointer/test2/SetFilePointer.cpp
  file_io/SetFilePointer/test3/SetFilePointer.cpp
  file_io/SetFilePointer/test4/SetFilePointer.cpp
  file_io/SetFilePointer/test5/SetFilePointer.cpp
  file_io/SetFilePointer/test6/SetFilePointer.cpp
  file_io/SetFilePointer/test7/SetFilePointer.cpp
  file_io/WriteFile/test1/WriteFile.cpp
  file_io/WriteFile/test2/WriteFile.cpp
  file_io/WriteFile/test3/WriteFile.cpp
  file_io/WriteFile/test4/writefile.cpp
  file_io/WriteFile/test5/writefile.cpp
  loader/LoadLibraryA/test1/LoadLibraryA.cpp
  loader/LoadLibraryA/test2/LoadLibraryA.cpp
  loader/LoadLibraryA/test3/loadlibrarya.cpp
  loader/LoadLibraryA/test5/loadlibrarya.cpp
  #loader/LoadLibraryA/test6/dlltest.cpp
  #loader/LoadLibraryA/test6/loadlibrarya.cpp
  loader/LoadLibraryA/test7/LoadLibraryA.cpp
  #loader/LoadLibraryA/test8/dlltest.cpp
  #loader/LoadLibraryA/test8/loadlibrarya.cpp
  loader/LoadLibraryW/test1/LoadLibraryW.cpp
  loader/LoadLibraryW/test2/loadlibraryw.cpp
  loader/LoadLibraryW/test3/loadlibraryw.cpp
  loader/LoadLibraryW/test5/loadlibraryw.cpp
  #locale_info/CompareStringA/test1/test1.cpp
  #locale_info/CompareStringW/test1/test1.cpp
  locale_info/GetACP/test1/test1.cpp
  #locale_info/GetLocaleInfoW/test1/test1.cpp
  #locale_info/GetLocaleInfoW/test2/test2.cpp
  locale_info/MultiByteToWideChar/test1/test1.cpp
  locale_info/MultiByteToWideChar/test2/test2.cpp
  locale_info/MultiByteToWideChar/test3/test3.cpp
  locale_info/MultiByteToWideChar/test4/test4.cpp
  locale_info/WideCharToMultiByte/test1/test1.cpp
  locale_info/WideCharToMultiByte/test2/test2.cpp
  locale_info/WideCharToMultiByte/test3/test3.cpp
  locale_info/WideCharToMultiByte/test4/test4.cpp
  locale_info/WideCharToMultiByte/test5/test5.cpp
  miscellaneous/CGroup/test1/test.cpp
  miscellaneous/CloseHandle/test1/test.cpp
  miscellaneous/CloseHandle/test2/test.cpp
  miscellaneous/CreatePipe/test1/test1.cpp
  miscellaneous/FlushInstructionCache/test1/test1.cpp
  miscellaneous/FormatMessageW/test1/test.cpp
  miscellaneous/FormatMessageW/test2/test.cpp
  miscellaneous/FormatMessageW/test3/test.cpp
  miscellaneous/FormatMessageW/test4/test.cpp
  miscellaneous/FormatMessageW/test5/test.cpp
  miscellaneous/FormatMessageW/test6/test.cpp
  miscellaneous/FreeEnvironmentStringsW/test1/test.cpp
  miscellaneous/FreeEnvironmentStringsW/test2/test.cpp
  miscellaneous/GetCommandLineW/test1/test.cpp
  miscellaneous/GetEnvironmentStringsW/test1/test.cpp
  miscellaneous/GetEnvironmentVariableA/test1/test.cpp
  miscellaneous/GetEnvironmentVariableA/test2/test.cpp
  miscellaneous/GetEnvironmentVariableA/test3/test.cpp
  miscellaneous/GetEnvironmentVariableA/test4/test.cpp
  miscellaneous/GetEnvironmentVariableA/test5/test5.cpp
  miscellaneous/GetEnvironmentVariableA/test6/test6.cpp
  miscellaneous/GetEnvironmentVariableW/test1/test.cpp
  miscellaneous/GetEnvironmentVariableW/test2/test.cpp
  miscellaneous/GetEnvironmentVariableW/test3/test.cpp
  miscellaneous/GetEnvironmentVariableW/test4/test.cpp
  miscellaneous/GetEnvironmentVariableW/test5/test5.cpp
  miscellaneous/GetEnvironmentVariableW/test6/test6.cpp
  miscellaneous/GetLastError/test1/test.cpp
  miscellaneous/GetSystemInfo/test1/test.cpp
  miscellaneous/GetTickCount/test1/test.cpp
  miscellaneous/GlobalMemoryStatusEx/test1/test.cpp
  miscellaneous/InterlockedBit/test1/test.cpp
  miscellaneous/InterlockedBit/test2/test.cpp
  miscellaneous/InterlockedCompareExchange/test1/test.cpp
  miscellaneous/InterlockedCompareExchange/test2/test.cpp
  miscellaneous/InterlockedCompareExchange64/test1/test.cpp
  miscellaneous/InterlockedCompareExchange64/test2/test.cpp
  miscellaneous/InterlockedCompareExchangePointer/test1/test.cpp
  miscellaneous/InterlockedDecrement/test1/test.cpp
  miscellaneous/InterlockedDecrement/test2/test.cpp
  miscellaneous/InterlockedDecrement64/test1/test.cpp
  miscellaneous/InterlockedDecrement64/test2/test.cpp
  miscellaneous/InterlockedExchange/test1/test.cpp
  miscellaneous/InterlockedExchange64/test1/test.cpp
  miscellaneous/InterLockedExchangeAdd/test1/test.cpp
  miscellaneous/InterlockedExchangePointer/test1/InterlockedExchangePointer.cpp
  miscellaneous/InterlockedIncrement/test1/test.cpp
  miscellaneous/InterlockedIncrement/test2/test.cpp
  miscellaneous/InterlockedIncrement64/test1/test.cpp
  miscellaneous/InterlockedIncrement64/test2/test.cpp
  #miscellaneous/IsBadCodePtr/test1/test1.cpp
  #miscellaneous/IsBadReadPtr/test1/test.cpp
  #miscellaneous/IsBadWritePtr/test1/test.cpp
  #miscellaneous/IsBadWritePtr/test2/test2.cpp
  #miscellaneous/IsBadWritePtr/test3/test3.cpp
  #miscellaneous/MessageBoxW/test1/test.cpp
  #miscellaneous/MessageBoxW/test2/test.cpp
  miscellaneous/queryperformancecounter/test1/test1.cpp
  miscellaneous/queryperformancefrequency/test1/test1.cpp
  miscellaneous/SetEnvironmentVariableA/test1/test1.cpp
  miscellaneous/SetEnvironmentVariableA/test2/test2.cpp
  miscellaneous/SetEnvironmentVariableA/test3/test3.cpp
  miscellaneous/SetEnvironmentVariableA/test4/test4.cpp
  miscellaneous/SetEnvironmentVariableW/test1/test.cpp
  miscellaneous/SetEnvironmentVariableW/test2/test.cpp
  miscellaneous/SetEnvironmentVariableW/test3/test3.cpp
  miscellaneous/SetEnvironmentVariableW/test4/test4.cpp
  miscellaneous/SetLastError/test1/test.cpp
  miscellaneous/_i64tow/test1/test1.cpp
  pal_specific/PAL_errno/test1/PAL_errno.cpp
# pal_specific/PAL_GetUserTempDirectoryW/test1/PAL_GetUserTempDirectoryW.cpp
  #pal_specific/PAL_get_stderr/test1/PAL_get_stderr.cpp
  #pal_specific/PAL_get_stdin/test1/PAL_get_stdin.cpp
  #pal_specific/PAL_get_stdout/test1/PAL_get_stdout.cpp
  pal_specific/PAL_Initialize_Terminate/test1/PAL_Initialize_Terminate.cpp
  pal_specific/PAL_Initialize_Terminate/test2/pal_initialize_twice.cpp
#  pal_specific/PAL_RegisterLibraryW_UnregisterLibraryW/test1/PAL_RegisterLibraryW_UnregisterLibraryW.cpp
#  pal_specific/PAL_RegisterLibraryW_UnregisterLibraryW/test2_neg/reg_unreg_libraryw_neg.cpp
  samples/test1/test.cpp
  samples/test2/test.cpp
  threading/CreateEventW/test1/test1.cpp
  threading/CreateEventW/test2/test2.cpp
  threading/CreateEventW/test3/test3.cpp
  threading/CreateMutexW_ReleaseMutex/test1/CreateMutexW.cpp
  threading/CreateMutexW_ReleaseMutex/test2/CreateMutexW.cpp
  threading/CreateProcessW/test1/childProcess.cpp
  threading/CreateProcessW/test1/parentProcess.cpp
  threading/CreateProcessW/test2/childprocess.cpp
  threading/CreateProcessW/test2/parentprocess.cpp
  threading/CreateSemaphoreW_ReleaseSemaphore/test1/CreateSemaphore.cpp
  threading/CreateSemaphoreW_ReleaseSemaphore/test2/CreateSemaphore.cpp
  threading/CreateSemaphoreW_ReleaseSemaphore/test3/createsemaphore.cpp
  threading/CreateThread/test1/test1.cpp
  threading/CreateThread/test2/test2.cpp
  threading/CreateThread/test3/test3.cpp
  threading/CriticalSectionFunctions/test1/InitializeCriticalSection.cpp
  threading/CriticalSectionFunctions/test2/test2.cpp
  threading/CriticalSectionFunctions/test3/test3.cpp
  threading/CriticalSectionFunctions/test4/test4.cpp
  threading/CriticalSectionFunctions/test5/test5.cpp
  threading/CriticalSectionFunctions/test6/test6.cpp
  threading/CriticalSectionFunctions/test7/test7.cpp
  threading/CriticalSectionFunctions/test8/test8.cpp
  threading/DuplicateHandle/test1/test1.cpp
  threading/DuplicateHandle/test10/test10.cpp
  threading/DuplicateHandle/test11/childprocess.cpp
  threading/DuplicateHandle/test11/test11.cpp
  threading/DuplicateHandle/test12/test12.cpp
  threading/DuplicateHandle/test2/test2.cpp
  threading/DuplicateHandle/test3/test3.cpp
  threading/DuplicateHandle/test4/test4.cpp
  threading/DuplicateHandle/test5/test5.cpp
  threading/DuplicateHandle/test6/test6.cpp
  threading/DuplicateHandle/test7/test7.cpp
  threading/DuplicateHandle/test8/test8.cpp
#  threading/DuplicateHandle/test9/test9.cpp
  threading/ExitProcess/test1/ExitProcess.cpp
  threading/ExitProcess/test2/test2.cpp
  threading/ExitProcess/test3/test3.cpp
  threading/ExitThread/test1/test1.cpp
  threading/ExitThread/test2/childprocess.cpp
  threading/ExitThread/test2/test2.cpp
  threading/GetCurrentProcess/test1/process.cpp
  threading/GetCurrentProcessId/test1/processId.cpp
  threading/GetCurrentThread/test1/thread.cpp
  threading/GetCurrentThread/test2/test2.cpp
  threading/GetCurrentThreadId/test1/threadId.cpp
  threading/GetExitCodeProcess/test1/childProcess.cpp
  threading/GetExitCodeProcess/test1/test1.cpp
  threading/GetProcessTimes/test2/test2.cpp
  threading/GetThreadTimes/test1/test1.cpp
  threading/NamedMutex/test1/namedmutex.cpp
  threading/NamedMutex/test1/nopal.cpp
  threading/OpenEventW/test1/test1.cpp
  threading/OpenEventW/test2/test2.cpp
  threading/OpenEventW/test3/childprocess.cpp
  threading/OpenEventW/test3/test3.cpp
  threading/OpenEventW/test4/test4.cpp
  threading/OpenEventW/test5/test5.cpp
  threading/OpenProcess/test1/childProcess.cpp
  threading/OpenProcess/test1/test1.cpp
  threading/QueryThreadCycleTime/test1/test1.cpp
  threading/QueueUserAPC/test1/test1.cpp
  threading/QueueUserAPC/test2/test2.cpp
  threading/QueueUserAPC/test3/test3.cpp
  threading/QueueUserAPC/test4/test4.cpp
  threading/QueueUserAPC/test5/test5.cpp
  threading/QueueUserAPC/test6/test6.cpp
  threading/QueueUserAPC/test7/test7.cpp
  threading/ReleaseMutex/test3/ReleaseMutex.cpp
  threading/releasesemaphore/test1/test.cpp
  threading/ResetEvent/test1/test1.cpp
  threading/ResetEvent/test2/test2.cpp
  threading/ResetEvent/test3/test3.cpp
  threading/ResetEvent/test4/test4.cpp
  threading/ResumeThread/test1/test1.cpp
  threading/SetErrorMode/test1/test1.cpp
  threading/SetEvent/test1/test1.cpp
  threading/SetEvent/test2/test2.cpp
  threading/SetEvent/test3/test3.cpp
  threading/SetEvent/test4/test4.cpp
  threading/SignalObjectAndWait/SignalObjectAndWaitTest.cpp
  threading/Sleep/test1/Sleep.cpp
  threading/Sleep/test2/sleep.cpp
  threading/SleepEx/test1/test1.cpp
  threading/SleepEx/test2/test2.cpp
  threading/SwitchToThread/test1/test1.cpp
  threading/TerminateProcess/test1/TerminateProcess.cpp
  threading/ThreadPriority/test1/ThreadPriority.cpp
  threading/WaitForMultipleObjects/test1/test1.cpp
  threading/WaitForMultipleObjectsEx/test1/test1.cpp
  threading/WaitForMultipleObjectsEx/test2/test2.cpp
  threading/WaitForMultipleObjectsEx/test3/test3.cpp
  threading/WaitForMultipleObjectsEx/test4/test4.cpp
  threading/WaitForMultipleObjectsEx/test5/helper.cpp
  threading/WaitForMultipleObjectsEx/test5/test5.cpp
  threading/WaitForMultipleObjectsEx/test6/child6.cpp
  threading/WaitForMultipleObjectsEx/test6/test6.cpp
  threading/WaitForSingleObject/test1/test1.cpp
  threading/WaitForSingleObject/WFSOExMutexTest/WFSOExMutexTest.cpp
  threading/WaitForSingleObject/WFSOExSemaphoreTest/WFSOExSemaphoreTest.cpp
  threading/WaitForSingleObject/WFSOExThreadTest/WFSOExThreadTest.cpp
  threading/WaitForSingleObject/WFSOMutexTest/WFSOMutexTest.cpp
  threading/WaitForSingleObject/WFSOProcessTest/ChildProcess.cpp
  threading/WaitForSingleObject/WFSOProcessTest/WFSOProcessTest.cpp
  threading/WaitForSingleObject/WFSOSemaphoreTest/WFSOSemaphoreTest.cpp
  threading/WaitForSingleObject/WFSOThreadTest/WFSOThreadTest.cpp
  threading/YieldProcessor/test1/test1.cpp

)

add_dependencies(paltests coreclrpal)

target_link_libraries(paltests
  ${COMMON_TEST_LIBRARIES}
)

_install (TARGETS paltests DESTINATION paltests)
_install (PROGRAMS runpaltests.sh runpaltestshelix.sh DESTINATION paltests)
